# -*- coding:UTF-8 -*-
import datetime,calendar

lastday = datetime.date.today()
oneday = datetime.timedelta(days=1)
print oneday
while lastday.weekday != calendar.FRIDAY:
	lastday -= oneday
print lastday
